﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.SAShader
{
	// Token: 0x020001C6 RID: 454
	[SA_Proj_RuleAttr]
	internal class ProjS_TooManyGlobalKWs : RecordRuleImp<ShaderAssetData, ShaderRecordManager>
	{
		// Token: 0x06000E98 RID: 3736 RVA: 0x000423BC File Offset: 0x000405BC
		protected override bool IsOK(ShaderAssetData assetData)
		{
			return (float)(assetData.globalMultiCompileSetCount + assetData.globalFeatureSetCount) <= this.GetThresholds(10f);
		}
	}
}
